package cn.xiaopengstack.api.service;

import cn.xiaopengstack.api.dto.AiAgentRequestDTO;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter;

/**
 * @author jiangyangang
 */
public interface IAiAgentService {

    /**
     * 执行AI智能体
     * @param aiAgentRequestDTO
     * @param response
     * @return
     */
    ResponseBodyEmitter executeAgent(AiAgentRequestDTO aiAgentRequestDTO, HttpServletResponse response);
}
